home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 031a / owlbwcc.zip / BWCHECK.RC < prev    next >
Text File  |  1992-02-02  |  2KB  |  47 lines

  1. /********************************************************************/
  2. /* BWCHECK.RC defines a simple Borland Windows Custom Control       */
  3. /* Dialog Box that can be used as the main window.                  */
  4. /* Notice the CLASS "BORDLG" to activate the metalic background     */
  5. /* Also notice the special "Borshade" Control and BorCheck controls */
  6. /* Notice the order of the controls Borshade then two BorCheck then */
  7. /* Borshade and two BorCheck.  The order is important to make the   */
  8. /* Tab and the arrow keys function correctly.                       */
  9. /********************************************************************/
  10.  
  11. #include "windows.h"
  12. #include "bwcc.h"
  13.  
  14. MAINWINDOWDIALOG DIALOG -24, -43, 114, 143
  15. CAPTION "Borland Check Boxes"
  16. CLASS "BORDLG"
  17. STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX
  18. BEGIN
  19.     CONTROL "        Unit #12", 103, "BorShade", BSS_GROUP | WS_CHILD | WS_VISIBLE | WS_GROUP, 6, 60, 102, 36
  20.     CONTROL "Radar Unit 12", 110, "BorCheck", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 12, 72, 90, 10
  21.     CONTROL "Confabulator 12", 120, "BorCheck", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 12, 84, 90, 10
  22.     CONTROL "        Unit #13", 103, "BorShade", BSS_GROUP | WS_CHILD | WS_VISIBLE | WS_GROUP, 6, 102, 102, 36
  23.     CONTROL "Radar Unit 13", 140, "BorCheck", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 12, 114, 90, 10
  24.     CONTROL "Confabulator 13", 150, "BorCheck", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 12, 126, 90, 10
  25.     CONTROL "", 102, "BorShade", 2 | WS_CHILD | WS_VISIBLE, 0, 54, 114, 1
  26.     CONTROL "", 101, "BorShade", BSS_GROUP | WS_CHILD | WS_VISIBLE, 6, 6, 102, 42
  27.     CTEXT "Check Boxes Display", -1, 12, 12, 90, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
  28.     CTEXT "The On or Off state ", -1, 12, 24, 90, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
  29.     CTEXT "Of a Toggle button", -1, 12, 36, 90, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
  30. END
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.